﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addTeacher.aspx.cs" Inherits="admin_addTeacher" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加图片</title>
    <link href="css/common.css" rel="stylesheet" type="text/css" />
     <style type="text/css">
        .style3
        {
            width: 110px;
        }
        #view
        {
            border: none;
        }
        #view tr td
        {
            border: none;
        }
    </style>
</head>
<body>
     <form id="form1" runat="server">
    <div id="addscenery" style="width: 950px; margin: 0 auto; height: 641px;">
        <table cellspacing="none" cellpadding="0" border="1" >

            <tr>
                <td class="title" width="140px">
                    &nbsp;&nbsp;标题:
                </td>
                <td align="center">
                    <asp:TextBox ID="txt_title" runat="server" Height="30px" Width="785px" Font-Size="Medium"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="title" width="140px">
                    &nbsp;&nbsp;上传图片:
                </td>
                <td align="center">
                    <asp:FileUpload ID="fld_img" runat="server" Height="25px" Width="324px" />
                    <asp:Button ID="btn_upload" runat="server" Text="上传" OnClick="btn_upload_Click" />
                </td>
            </tr>
            <tr>
                <td width="140px">
                    &nbsp;&nbsp;图片预览:
                </td>
                <td align="center">
                    <br />
                    <asp:Image ID="Pic" runat="server" Height="270px" Width="400px" />
                    <br />
                    <br />
                </td>
            </tr>
            
            <tr>
                <td colspan="2" style="height: 25px; padding-left: 400px; align: center">
                    <asp:Button ID="btn_sure" runat="server" Text="确认" OnClick="btn_sure_Click" />
                    <asp:Button ID="btn_clear" runat="server" Text="清除" OnClick="btn_clear_Click" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
